package com.biz.primus.commodity.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.List;

/**
 * @author wan
 */
@Data
@ApiModel("保存组合商品vo")
public class GroupProductVo implements Serializable{

    @ApiModelProperty("组合商品Id（groupProduct 的Id）")
    private String id;

    @ApiModelProperty("组合商品编码")
    private String productCode;

    @ApiModelProperty("组合商品子商品编码")
    private String itemProductCode;

    @ApiModelProperty("组合商品子商品名称")
    private String itemName;

    @ApiModelProperty("组合商品子商品数量")
    private Integer quantity;

    @ApiModelProperty("价格百分比 取值0-100")
    private Integer priceFactor;

    @ApiModelProperty("更新时间")
    private Timestamp updateTimeStamp;

    @ApiModelProperty("产品集合")
    private String productJson;

    @ApiModelProperty("产品Id")
    private String productId;

    @ApiModelProperty("产品名称")
    private String productName;

    @ApiModelProperty("选择的产品名称集合")
    private String productNames;

    @ApiModelProperty("选的的产品编码集合")
    private String productCodes;

    @ApiModelProperty("组合商品集合")
    private List<GroupProductVo> item;

    @ApiModelProperty("新增/编辑标志")
    private String type;
}
